package com.flesler.componentas.test.entity
{
	import com.flesler.componentas.components.position.PositionComponent;
	import com.flesler.componentas.core.BaseEntity;
	import com.flesler.componentas.test.components.PositionDisplayComponent;
	
	public class TestEntity extends BaseEntity
	{
		private var _position:PositionComponent;
		
		public function TestEntity()
		{
			init();
		}
		
		private function init():void
		{
			register(_position = new PositionComponent());
			register(new PositionDisplayComponent(), 'display');
		}

		public function get position():PositionComponent
		{
			return _position;
		}
	}
}